public class PlayerAIState_Defense_Block : State<PlayerAI>
{
	public static PlayerAIState_Defense_Block instance;

	private PlayerAIState_Defense_Block()
	{
	}

	public static PlayerAIState_Defense_Block getInstance()
	{
		if (instance == null)
		{
			instance = new PlayerAIState_Defense_Block();
		}
		return instance;
	}

	public override void enter(PlayerAI owner)
	{
		base.enter(owner);
		owner.player.do_block();
	}

	public override void fixedUpdate(PlayerAI owner)
	{
		base.fixedUpdate(owner);
		if (owner.player.isInState(PlayerStateBehavior_Defense.getInstance()))
		{
			owner.do_defense_grabrebound();
		}
	}
}
